package com.nmsl.nurse.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 出院记录对象 discharge_record
 * 
 * @author ruoyi
 * @date 2025-02-19
 */
public class MDischargeRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出院记录编号 */
    private Long dischargeRecordId;

    /** 患者编号（患者表） */
    @Excel(name = "患者编号", readConverterExp = "患=者表")
    private Long patientId;

    /** 出院日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出院日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dischargeDate;

    /** 员工编号（员工表）（医生） */
    @Excel(name = "员工编号", readConverterExp = "员=工表")
    private Long doctorId;

    /** 出院诊断 */
    @Excel(name = "出院诊断")
    private String dischargeDiagnosis;

    /** 员工编号（员工表）（护士） */
    @Excel(name = "员工编号", readConverterExp = "员=工表")
    private Long nurseId;

    /** 出院医嘱 */
    @Excel(name = "出院医嘱")
    private String dischargeAdvice;

    /** 出院情况 */
    @Excel(name = "出院情况")
    private String dischargeCondition;

    /** 入院编号 */
    @Excel(name = "入院编号")
    private Long registrationId;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String ext1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String ext2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String ext3;

    public void setDischargeRecordId(Long dischargeRecordId) 
    {
        this.dischargeRecordId = dischargeRecordId;
    }

    public Long getDischargeRecordId() 
    {
        return dischargeRecordId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setDischargeDate(Date dischargeDate) 
    {
        this.dischargeDate = dischargeDate;
    }

    public Date getDischargeDate() 
    {
        return dischargeDate;
    }
    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setDischargeDiagnosis(String dischargeDiagnosis) 
    {
        this.dischargeDiagnosis = dischargeDiagnosis;
    }

    public String getDischargeDiagnosis() 
    {
        return dischargeDiagnosis;
    }
    public void setNurseId(Long nurseId) 
    {
        this.nurseId = nurseId;
    }

    public Long getNurseId() 
    {
        return nurseId;
    }
    public void setDischargeAdvice(String dischargeAdvice) 
    {
        this.dischargeAdvice = dischargeAdvice;
    }

    public String getDischargeAdvice() 
    {
        return dischargeAdvice;
    }
    public void setDischargeCondition(String dischargeCondition) 
    {
        this.dischargeCondition = dischargeCondition;
    }

    public String getDischargeCondition() 
    {
        return dischargeCondition;
    }
    public void setRegistrationId(Long registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Long getRegistrationId() 
    {
        return registrationId;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dischargeRecordId", getDischargeRecordId())
            .append("patientId", getPatientId())
            .append("dischargeDate", getDischargeDate())
            .append("doctorId", getDoctorId())
            .append("dischargeDiagnosis", getDischargeDiagnosis())
            .append("nurseId", getNurseId())
            .append("dischargeAdvice", getDischargeAdvice())
            .append("dischargeCondition", getDischargeCondition())
            .append("registrationId", getRegistrationId())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .toString();
    }
}
